//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// 			VisualNovelToolkit		     /_/_/_/_/_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe.	/_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections;

public class OpcodeMessaging  {
	// HTML Tag Opcode.
	public const 	byte TWEEN = 4;			// Tween GameObject.
	
	public const	byte CROSS_FADE = 7;	
	public const	byte TRANSLATE	= 8;
	
	public const	byte DESTROY_CHILDREN = 15;	 //  Destroy a GameObject Children.
	public const  	byte CALL = 16;     // send message to a object
	public const	byte TARGET= 17;		// change target.
	public const	byte MSG_TARGET= 18;		// change message target.
	public const	byte LINK = 19;			// Set Selector's Link. 
	public const	byte SELECTIONS = 20;			// Set Selector's Link. 
	public const	byte START_WAIT= 21;		// change message target.
	public const	byte UPDATE_WAIT= 22;		// change message target.
	
	public const byte	FADE_PANEL = 24;
	public const byte	PUNCH_POSITION = 25;	
	
	// Util.	
	public const	byte SET_RESOURCE_AS_TEXTURE = 100;
	public const	byte SET_RESOURCE_AS_TRANSITION_TEXTURE1 = 101;
	public const	byte SET_RESOURCE_AS_TRANSITION_TEXTURE2 = 102;

	public const 	byte LOAD_IMAGE		= 121;		
	public const 	byte FLAG_ON		= 122;			// Flag ON !
	public const 	byte FLAG_OFF		= 123;		// Flag OFF !
	public const	byte LOAD_LEVEL		= 125;		// Appilcation.LoadLevel.
	public const	byte CHANGE_IMAGE	= 126;		
	public const	byte DESTROY		= 127;
	public const	byte LOAD_SCENE_XML	= 128;
	public const	byte TRIGGER_EVENT  = 129;
	public const	byte TRIGGER_EVENT_WITH_ARGS = 130;
	
	// Sound.
	public const	byte PLAY_SOUND = 154;	
	public const	byte STOP_SOUND = 155;	
		
	// Setter.
	public const	byte SET_ACTIVE		= 199;
	public const	byte SET_POS_3D 	= 200;			// Set LocalPosition of the Current Target GameObject.
	public const	byte SET_SCALE_3D = 201;			// SetScale of the Current Target GameObject.
	public const	byte SET_TEXT			= 202;			// Set Text to TextBox.
	public const	byte SET_ALPHA		= 203;			// SetAlpha of the Current Target GameObject.
	
	public const byte	SIZE = 205;
}
